package com.member.shop.dto;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class VerificationCodeLoginDto {

    @NotBlank(message = "手机号码不能为空")
    private String phoneNumber;

    @NotBlank(message = "验证码不能为空")
    private String verificationCode;

}
